<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

</body>
<script>
  var arr = function (details) {
    let count = 0;
    details.forEach((item) => {
      if (item.slice(-4, -2) > 60) count++
    })
    return count
  };
  console.log(arr(details = ["7868190130M7522", "5303914400F9211", "9273338290F4010"]));
</script>

</html>